package com.zhangchuchu.neohealth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangchuchu.neohealth.entity.Community;
import com.zhangchuchu.neohealth.entity.DTO.CommunityDTO;

import java.util.List;

/**
 * (Community)表服务接口
 *
 * @author makejava
 * @since 2025-03-29 20:18:30
 */
public interface CommunityService extends IService<Community> {
    List<CommunityDTO> getCommunityWithUserAndComment(Long commentId, Long userId);

    List<CommunityDTO> getCommunity();
}
